package com.syh.jn.scm.service.api.upstream.finance.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * Created by soci.song on 2018/10/18.
 */
@Getter
@AllArgsConstructor
public enum UpStatementAccountBillEnum {
    BOTH_STAYCONFIRM(Short.valueOf("0"),"双方未确认","对账单"),
    OUR_CONFIRM(Short.valueOf("1"),"服务商已确认","对账单"),
    OTHERPARTY_CONFIRM(Short.valueOf("2"),"上游或下游已确认","对账单"),
    BOTH_CONFIRM(Short.valueOf("3"),"双方已确认","对账单"),

    NOT_INVOICE(Short.valueOf("0"), "未开票", "对账单开票状态"),
    PART_INVOICED(Short.valueOf("1"), "部分开票", "对账单开票状态"),
    FINISH_INVOICED(Short.valueOf("2"), "完成开票", "对账单开票状态"),

    // 收付款状态
    MONEY_UNRECEIVED(Short.valueOf("0"), "未收付款", "对账单收款状态"),
    PART_MONEY_RECEIVED(Short.valueOf("1"), "部分收付款", "对账单收款状态"),
    MONEY_RECEIVED(Short.valueOf("2"), "完成收付款", "对账单收款状态"),

    // 单据来源
    SOURCE_SALE_ORD(Short.valueOf("2"), "销售订单", "单据来源"),
    SOURCE_SALE_RETURN_ORD(Short.valueOf("3"), "销售退货单", "单据来源"),
    SOURCE_INCOME_BILL(Short.valueOf("4"), "收入单", "单据来源"),
    SOURCE_COST_BILL(Short.valueOf("5"), "费用单", "单据来源");

    private Short status;
    private String statusName;
    private String statusBelong;
}
